<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<%@ taglib uri="/secu" prefix="secu"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<%@ include file="/commons/meta-jquery.jsp"%>
	
	<script type="text/javascript">
		$(document).ready(function (){
			$('body').layout({
				north__resizable:false,
				north__size:90,
				west__size:240,
				west__minSize:240,
				west__maxSize:350,
				west__onresize:function (){$("#accordion").accordion("resize");}
			});
			$("#accordion").accordion({fillSpace: true,active:${param.active }});
			
			$('#mainFrame').load(function(){
				$(this).height($(document).height()-98);
			});
	 	});
	 	
	 	
	</script>	
  </head>
  
  <body>
  	<iframe id="mainFrame" name="mainFrame" class="ui-layout-center" width="100%" frameborder="0" scrolling="auto"></iframe>
	<div class="ui-layout-north">
		<div style="background-repeat: repeat-x;background-image: url('${ctx }/images/layout/index_main_top_baground.jpg');">
			<img src="${ctx }/images/layout/index_main_top.jpg" />
		</div>
	</div>
	
	<div class="ui-layout-west">
	
		<div id="accordion">
			
			<h3><a href="#">查询统计报表</a></h3>
			<div class="menucontent">
				<!--
				<div class="menuOne">
					<a href="${ctx }/bpm/flowReqReport_findBsReqReport.action" target="mainFrame">需求单图形报表</a>
				</div>
				<div class="menuOne">
					<a href="${ctx }/bpm/flowReqReport_findBsReqReportNotGraph.action" target="mainFrame">需求单进展报表</a>
				</div>
				 
				<div class="menuOne">
					<a href="${ctx }/bpm/flowReqReport_sumBsReqReport.action?type=dai_type" target="mainFrame">按需求大类型统计报表</a>
				</div>
				<div class="menuOne">
					<a href="${ctx }/bpm/flowReqReport_sumBsReqReport.action?type=type" target="mainFrame">按需求小类型统计报表</a>
				</div>
				 -->
				<div class="menuOne">
					<a href="${ctx }/bpm/flowReqReport_sumRequest.action?type=type" target="mainFrame">需求单统计</a>
				</div>
				<div class="menuOne">
					<a href="${ctx }/bpm/flowReqReport_findBsReqReport.action" target="mainFrame">需求单报表</a>
				</div>
			</div>
			<h3><a href="#">周报、月报</a></h3>
			<div class="menucontent">
				<secu:out resType="MODELMENU" code="MM_WEEK_ADDWEEK">
					<div class="menuOne">
						<a href="${ctx }/bpm/flowWeekReport_findNeedWeek.action" target="mainFrame">填写周报</a>
					</div>
				</secu:out>
				<secu:out resType="MODELMENU" code="MM_WEEK_ADDMONTH">
					<div class="menuOne">
						<a href="${ctx }/bpm/flowWeekReport_findNeedMonth.action" target="mainFrame">填写月报</a>
					</div>
				</secu:out>
				<secu:out resType="MODELMENU" code="MM_WEEK_DEPLOY">
					<div class="menuOne">
						<a href="${ctx }/bpm/flowWeekReport_findNeedDeploy.action" target="mainFrame">周报月报配置</a>
					</div>
				</secu:out>
				<secu:out resType="MODELMENU" code="MM_WEEK_REPORT">
					<div class="menuOne">
						<a href="${ctx}/bpm/flowWeekReport_findWeekReport.action" target="mainFrame">周报月报报表</a>
					</div>
				</secu:out>
			</div>
			<h3><a href="#">需求单时间管控</a></h3>
			<div class="menucontent">
				<secu:out resType="MODELMENU" code="MM_DATE_DEPLOY">
					<div class="menuOne">
						<a href="${ctx }/bpm/flowDateManager_dateBsReqList.action" target="mainFrame">需求单时间管控配置</a>
					</div>
				</secu:out>
				<secu:out resType="MODELMENU" code="MM_DATE_REPORT">
					<div class="menuOne">
						<a href="${ctx }/bpm/flowDateManager_dateManagerList.action" target="mainFrame">需求单时间管控报表</a>
					</div>
				</secu:out>
			</div>
		</div>
	</div>
	 
  </body>
</html>
